<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        span{
            display: inline-block;
            width: 60px;
        }
    </style>
</head>
<body>
<script>
    for(i=1; i<10; i++){
        for(j=1; j<=i; j++){
            document.write("<span>"+j+"*"+i+"="+i*j+"</span>");
        }
        document.write("</br>");
    }

</script>

</body>
</html>